package com.mryan.aop_mylog.dao;

import com.mryan.aop_mylog.mapper.UserMapper;
import com.mryan.aop_mylog.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @description：TODO
 * @Author MRyan
 * @Date 2021/1/6 17:23
 * @Version 1.0
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;

    @Override
    public List<User> getUserList(Integer age) {
        return userMapper.getUserList(age);
    }
}
